<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../ext/resources/css/ext-all.css"
	type="text/css"></link>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript" src="../js/gears_init.js"></script>
<script type="text/javascript"
	src="http://maps.google.com/maps/api/js?sensor=false&language=zh-CN"></script>
<script type="text/javascript" src="../ext/adapter/ext/ext-base.js"></script>
<script type="text/javascript" src="../ext/ext-all.js"></script>
<script type="text/javascript" src="../js/UserNavigationMap.js"></script>
<title>考场移动导航</title>
<style type="text/css">
.right1 div #directions {
	float: left;
	overflow: auto;
}

.right1 div #maps {
	float: left;
}
</style>
</head>
<body onload="initialize()">
	<div class="right1">
		<div align="left">
			请输入需要导航的起始地址的具体信息:
			<s:textfield name="" id="position" />
			<input type="button" value="搜索" onclick="searchLocation()" /><input
				type="button" value="注册位置定位" onclick="locationSelf()" /><input
				type="button" value="当前位置定位" onclick="initialize()" />
		</div>
		<div align="left">
			请输入需要导航的终点地址的具体信息:
			<s:textfield name="" id="position2" />
			<input type="button" value="搜索" onclick="searchLocation2()" />
			<input type="button" value="考试位置选择" onclick="selectExam()" />
			<select id="selectWay">
				<option value="1">車道</option>
				<option value="2">步行</option>
			</select><input type="button" value=" 导航  " onclick="calcRoute()" />
		</div>
		<div style="width: 100%; height: 95%;">
			<div id="maps" style="width: 74%; height: 100%;"></div>
			<div id="directions" style="width: 26%; height: 100%;"></div>
		</div>

	</div>
</body>
</html>